import { camera } from "./camera";
import { renderer } from "./renderer";


export const resizeHandle = () => {
  camera.aspect = window.innerWidth / innerHeight;

  camera.updateProjectionMatrix();

  renderer.setSize(window.innerWidth, window.innerHeight);

  renderer.setPixelRatio(window.devicePixelRatio);
};
